OPC Studio User's Guide and Reference
UADataChangeNotificationPayload<TValue> Constructor(String,String,String,UAAttributeDataPayload<TValue>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.ComplexEventProcessing Namespace > UADataChangeNotificationPayload<TValue> Class > UADataChangeNotificationPayload<TValue> Constructor : UADataChangeNotificationPayload<TValue> Constructor(String,String,String,UAAttributeDataPayload<TValue>)
A string specifying the OPC-UA server endpoint.

The value of this parameter cannot be null (Nothing in Visual Basic).

A string specifying the OPC-UA node, its attribute and index range list.

The value of this parameter cannot be null (Nothing in Visual Basic).

The error ID of the error.

The value of this parameter cannot be null (Nothing in Visual Basic).

An event payload with an OPC-UA attribute value, together with status code and timestamps.

The value of this parameter cannot be null (Nothing in Visual Basic).

Initializes a new event payload from individual data members.
Syntax
'Declaration
 
Public Function New( _
   ByVal endpoint As String, _
   ByVal attribute As String, _
   ByVal errorId As String, _
   ByVal attributeDataPayload As UAAttributeDataPayload(Of TValue) _
)
'Usage
 
Dim endpoint As String
Dim attribute As String
Dim errorId As String
Dim attributeDataPayload As UAAttributeDataPayload(Of TValue)
 
Dim instance As New UADataChangeNotificationPayload(Of TValue)(endpoint, attribute, errorId, attributeDataPayload)
public UADataChangeNotificationPayload<TValue>( 
   string endpoint,
   string attribute,
   string errorId,
   UAAttributeDataPayload<TValue> attributeDataPayload
)

Parameters

endpoint
A string specifying the OPC-UA server endpoint.

The value of this parameter cannot be null (Nothing in Visual Basic).

attribute
A string specifying the OPC-UA node, its attribute and index range list.

The value of this parameter cannot be null (Nothing in Visual Basic).

errorId
The error ID of the error.

The value of this parameter cannot be null (Nothing in Visual Basic).

attributeDataPayload
An event payload with an OPC-UA attribute value, together with status code and timestamps.

The value of this parameter cannot be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also